package com.reservation.service;

import com.reservation.dto.user.order.CancelReservation;
import com.reservation.dto.user.order.RefundConfirmDTO;
import com.reservation.vo.user.order.GetAllOrderVO;
import com.reservation.vo.user.order.GetWaitPayOrderVO;

import java.util.List;

public interface OrderService {

    List<GetAllOrderVO> getAllOrders();

    List<GetWaitPayOrderVO> getWaitPayOrder();

    List<GetAllOrderVO> getCancelableOrderList();

    boolean cancelOrder(CancelReservation cancelReservation);

    List<GetAllOrderVO> getWaitAuditOrderList();

    /**
     * 确认取消预约并处理退款
     * 
     * @param refundConfirmDTO 退款确认信息
     * @return 是否处理成功
     */
    boolean confirmCancelOrder(RefundConfirmDTO refundConfirmDTO);
}
